package com.csl.jmu.demo.service.impl;

import com.csl.jmu.demo.dao.UserMapper;
import com.csl.jmu.demo.entity.User;
import com.csl.jmu.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <pre>
 * 描述：用户表服务
 * </pre>
 *
 * @类名：com.csl.jmu.demo.service.impl.UserServiceImpl
 * @作者： 1410HL0236
 * @创建日期: 2019/11/21 11:00
 */
@Service
public class UserServiceImpl implements UserService {
  @Autowired
  UserMapper userMapper;

  @Override
  public User sel(Integer id) {
    return userMapper.sel(id);
  }
}
